package com.atstudy.lambda;

import java.util.Comparator;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2023/1/4 10:56
 * @copyright: 博为峰
 */
public class ComparatorByName implements Comparator<String> {
    @Override
    public int compare(String o1, String o2) {
        return o1.compareTo(o2);
    }
}
